package com.tac.dao.scm;

import com.tac.pojo.scm.PurchasePlan;

import java.util.Date;
import java.util.List;

public interface PurchasePlanDao {

    //查看采购计划列表
    public List<PurchasePlan> getList(String documentNumber, String applicant, Date applicationDateStart, Date applicationDateEnd
            , String applicationStatus, String reviewer, Date reviewDateStart, Date reviewDateEnd, String reviewStatus);

    //修改采购计划
    public Integer update(PurchasePlan purchasePlan);

    //删除采购计划
    public Integer remove(List<Integer> ids);

    //添加采购计划
    public Integer save(PurchasePlan purchasePlan);

    //根据id查找采购计划
    public PurchasePlan getById(Integer id);

    //采购计划审核
    public Integer updateByReview(PurchasePlan purchasePlan);
}
